import { getlink } from "@/api/getlink"
export const yuncun = {
    state: {
        yuncun: []
    },
    mutations: {
        setState(state, payload) {
            state.yuncun = payload;
        }
    },
    actions: {
        getyuncun(context) {
            getlink('/xpf/yuncun').then((res) => {
                // console.log(res.data);

                context.commit('setState', res.data)
            })
        }
    }
};